package com.lin.cloud.disk.entity.response;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @program: cloud-disk
 * @description: 获取上传链接响应实体类
 * @author: Lin
 * @create: 2021-02-03 20:23
 **/
@Data
public class GetMultipartUploadUrlResponse {


    @ApiModelProperty(value = "上传链接列表", name = "uploadUrlList")
    private List<String> uploadUrlList = Collections.emptyList();

    @ApiModelProperty(value = "OSS上传文件ID",name = "uploadId")
    private String uploadId;


    @ApiModelProperty(value = "是否需要上传 默认不需要", name = "needUpload")
    private Boolean needUpload = false;

    @ApiModelProperty(value = "每部分上传文件大小", name = "uploadPartMaxSize")
    private Long uploadPartMaxSize;

    @ApiModelProperty(value = "已成功上传的部分", name = "successChunkList")
    private List<Integer> successChunkList = Collections.emptyList();
}
